package com.zhangchuchu.neohealth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhangchuchu.neohealth.entity.Comments;
import com.zhangchuchu.neohealth.entity.DTO.CommentsDTO;

import java.util.List;

/**
 * 评论表(Comments)表服务接口
 *
 * @author makejava
 * @since 2025-03-29 20:34:32
 */
public interface CommentsService extends IService<Comments> {


    public List<CommentsDTO> getMainCommentsByCommunityId(Long communityId);
    public List<CommentsDTO> getSubCommentsByCommunityId(Long communityId,Long commentId) ;
    public List<CommentsDTO> getOneSubCommentsByCommunityId(Long communityId,Long commentId) ;
}
